~:extend('common')~
~[content]~
~:render('goods/menu')~
<div id="content">商品列表: <br>
<table>

	~foreach($list as $item):~
	<tr>
		<td>~~$item.goodsname~</td>
		<td>~~$item.goodsbrief~</td>
		<td>~~$item.isonsale == 1?上架:未上架~</td>
		<td>~~$item.ishotsale == 1?热销:非热销~</td>
		<td>~~$item.isrecommend == 1?推荐:非推荐~</td>
		<td>~~$item.isnewgoods == 1?新品:非新品~</td>
		<td><img src="~~View_Helper::getThumb($item.filename)~" width=46
			height=58></td>
		<td><a
			href="~~View_Helper::makeUri('goods/edit', array('goodsid'=>$item.goodsid))~">编辑</a></td>
		<td><a
			href="~~View_Helper::makeUri('goods/delete', array('goodsid'=>$item.goodsid))~">删除</a></td>
	</tr>
	~endforeach~
	
</table>
</div>
~[/content]~
